<?php

namespace app\admin\controller\product;

use app\common\controller\Backend;

// 回收站管理
class Recyclebin extends Backend
{
    protected $noNeedRight = ['*'];
    
    protected $relationSearch = true;

    protected $model = null;

    public function _initialize()
    {
        parent::_initialize();

        $this->OrderModel = model('Order.Order');

        //赋值给前台JS
        $this->assignconfig("statuslist", $this->OrderModel->statuslist());
    }
    
    public function index()
    {
        return $this->fetch();
    }
}
